<?php
namespace app\common\controller;
use logic\Wechat;

class Serve extends \think\Controller
{
	public function index(){
		$app = Wechat::app();
		$app->server->setMessageHandler(function ($message) {
			return "您好！!";
		});
		$response = $app->server->serve();
		// 将响应输出
		$response->send();

	}


}
